import request from '@/utils/request'
//获取开发阶段列表数据
export function getDevelopStepListAPI(data) {
  return request({
    url:'/customerTracking/developStepList',
    method:'post',
    data:data
  })
}
//添加/修改开发阶段
export function editDevelopStepAPI(data) {
  return request({
    url:'/customerTracking/developStepEdit',
    method:'post',
    data:data
  })
}
// 开发阶段详情数据
export function getDevelopStepDetailAPI(data) {
  return request({
    url:'/customerTracking/developStepDetail',
    method:'post',
    data:data
  })
}
// 删除开发阶段
export function delDevelopStepAPI(data) {
  return request({
    url:'/customerTracking/delDevelopStep',
    method:'post',
    data:data
  })
}
// 客户跟进目的列表
export function getPurposeListAPI(data) {
  return request({
    url:'/customerTracking/purposeList',
    method:'post',
    data:data
  })
}
// 供应商跟进目的列表
export function supplierPurposeListAPI(data) {
  return request({
    url:'/supplier/purposeList',
    method:'post',
    data:data
  })
}
// 新增/修改跟进目的
export function addPurposeEditAPI(data) {
  return request({
    url:'/customerTracking/purposeEdit',
    method:'post',
    data:data
  })
}
// 跟进目的详情
export function getPurposeDetailAPI(data) {
  return request({
    url:'/customerTracking/purposeDetail',
    method:'post',
    data:data
  })
}
// 删除跟进目的
export function delPurposeDeleteAPI(data) {
  return request({
    url:'/customerTracking/purposeDelete',
    method:'post',
    data:data
  })
}
// 获取跟进方式列表
export function getTrackingMethodListAPI(data) {
  return request({
    url:'/customerTracking/trackingMethodList',
    method:'post',
    data:data
  })
}
// 获取供应商跟进方式列表
export function getTrackingMethodListAPI2(data) {
  return request({
    url:'/supplier/trackingMethodList',
    method:'post',
    data:data
  })
}
// 获取跟进方式详情数据
export function getTrackingMethodDetailAPI(data) {
  return request({
    url:'customerTracking/trackingMethodDetail',
    method:'post',
    data:data
  })
}
// 添加/修改跟进方式
export function trackingMethodEditAPI(data) {
  return request({
    url:'/customerTracking/trackingMethodEdit',
    method:'post',
    data:data
  })
}
// 删除跟进方式
export function delTrackingMethodAPI(data) {
  return request({
    url:'/customerTracking/delTrackingMethod',
    method:'post',
    data:data
  })
}
// 获取沟通方式列表数据
export function getInteractListAPI(data) {
  return request({
    url:'/customerTracking/interactList',
    method:'post',
    data:data
  })
}
// 获取供应商沟通方式列表数据
export function trackingInteractListAPI(data) {
  return request({
    url:'/supplier/trackingInteractList',
    method:'post',
    data:data
  })
}
// 新增/修改沟通方式列表数据
export function addInteractEditAPI(data) {
  return request({
    url:'/customerTracking/interactEdit',
    method:'post',
    data:data
  })
}
// 获取沟通方式详情数据
export function getInteractDetailAPI(data) {
  return request({
    url:'/customerTracking/interactDetail',
    method:'post',
    data:data
  })
}
// 删除沟通方式
export function delInteractAPI(data) {
  return request({
    url:'/customerTracking/interactDelete',
    method:'post',
    data:data
  })
}
// 获取难度系数列表数据
export function getDifficultytListAPI(data) {
  return request({
    url:'/customerTracking/difficultyList',
    method:'post',
    data:data
  })
}
// 新增/修改难度系数数据
export function addDifficultyEditAPI(data) {
  return request({
    url:'/customerTracking/difficultyEdit',
    method:'post',
    data:data
  })
}
// 获取难度系数详情数据
export function getDifficultyDetailAPI(data) {
  return request({
    url:'/customerTracking/difficultyDetail',
    method:'post',
    data:data
  })
}
// 删除难度系数
export function delDifficultyAPI(data) {
  return request({
    url:'/customerTracking/difficultyDelete',
    method:'post',
    data:data
  })
}
// 获取距离系数列表数据
export function getDistanceListAPI(data) {
  return request({
    url:'/customerTracking/distanceList',
    method:'post',
    data:data
  })
}
// 新增/修改距离系数数据
export function addDistanceEditAPI(data) {
  return request({
    url:'/customerTracking/distanceEdit',
    method:'post',
    data:data
  })
}
// 获取距离系数详情数据
export function getDistanceDetailAPI(data) {
  return request({
    url:'/customerTracking/distanceDetail',
    method:'post',
    data:data
  })
}
// 删除距离系数
export function delDistanceAPI(data) {
  return request({
    url:'/customerTracking/distanceDelete',
    method:'post',
    data:data
  })
}
// 员工跟进报表
export function getEmployeeFollowListAPI(data) {
  return request({
    url:'/customerTracking/employeeTrackingStatistics',
    method:'post',
    data:data
  })
}
// 员工跟进曲线图
export function employeeTrackingChartAPI(data) {
  return request({
    url:'/customerTracking/employeeTrackingChart',
    method:'post',
    data:data
  })
}
// 采购跟进报表
export function getSupplierFollowListAPI(data) {
  return request({
    url:'/supplier/employeeTrackingStatistics',
    method:'post',
    data:data
  })
}
// 客户跟进报表
export function getCustomerFollowListAPI(data) {
  return request({
    url:'/customerTracking/customTrackingStatistics',
    method:'post',
    data:data
  })
}
// 客户跟进日报表
export function getCustomerFollowDayListAPI(data) {
  return request({
    url:'/customerTracking/customTrackingDateStatistics',
    method:'post',
    data:data
  })
}
// 获取跟进详情列表
export function getTrackDetailListAPI(data) {
  return request({
    url:'/customerTracking/getDetailList',
    method:'post',
    data:data
  })
}
// 获取电话外呼列表
export function getYunTongXinListAPI(data) {
  return request({
    url:'/customerTracking/yunTongXinList',
    method:'post',
    data:data
  })
}

// 获取电话外呼报表
export function tongXingLogForms(data) {
  return request({
    url:'/customerTracking/tongXingLogForms',
    method:'post',
    data:data
  })
}
// 客户详情
export function getCustomerDetailAPI(data) {
  return request({
    url:'/customerLatest/customerDetail',
    method:'post',
    data:data
  })
}
// 转移客户列表
export function removeCustomerListAPI(data) {
  return request({
    url:'/customerLatest/removeCustomerList',
    method:'post',
    data:data
  })
}
// 转移客户
export function removeCustomerAPI(data) {
  return request({
    url:'/customerLatest/removeCustomer',
    method:'post',
    data:data
  })
}
// 批量转移客户
export function batchRemoveCustomerAPI(data) {
  return request({
    url:'/customerLatest/batchRemoveCustomer',
    method:'post',
    data:data
  })
}
// 还原客户
export function delayCustomerAPI(data) {
  return request({
    url:'/customerLatest/delayCustomer',
    method:'post',
    data:data
  })
}
// 新增产品
export function editUseGoodsAPI(data) {
  return request({
    url:'/customerLatest/editUseGoods',
    method:'post',
    data:data
  })
}
// 新增联系人
export function editContactAPI(data) {
  return request({
    url:'/customerLatest/editCustomerContact',
    method:'post',
    data:data
  })
}
// 跟进 我的客户 新增子客户
export function addSonCustomerAPI(data) {
  return request({
    url:'/customerLatest/addSonCustomer',
    method:'post',
    data:data
  })
}

// 供应商跟进曲线图
export function employeeTrackingChart(data) {
  return request({
    url:'/supplier/employeeTrackingChart',
    method:'post',
    data:data
  })
}

// 新增销售工单
export function addWorkOrder(data) {
  return request({
    url:'/tracking/addWorkOrder',
    method:'post',
    data:data
  })
}

// 工单操作
export function workOrderOperate(data) {
  return request({
    url:'/tracking/workOrderOperate',
    method:'post',
    data:data
  })
}

// 工单列表
export function workOrderList(data) {
  return request({
    url:'/tracking/workOrderList',
    method:'post',
    data:data
  })
}
// 增加管理跟进
export function addManageTracking(data) {
  return request({
    url:'/tracking/addManageTracking',
    method:'post',
    data:data
  })
}

// 管理跟进列表
export function manageTrackingList(data) {
  return request({
    url:'/tracking/manageTrackingList',
    method:'post',
    data:data
  })
}

// 快速编辑客户相关信息
export function editCustomerInfo(data) {
  return request({
    url:'/customer/editCustomerInfo',
    method:'post',
    data:data
  })
}
// 快速编辑订单相关信息
export function editOrderInfo(data) {
  return request({
    url:'/order/editOrderInfo',
    method:'post',
    data:data
  })
}
